package org.example.server.goods.mapstruct.goods.tag;

import org.example.server.goods.entity.GoodsTagEntity;
import org.example.server.goods.repo.doo.GoodsTagDo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring")
public interface TagConverter {
  /**
   * 转换实例
   */
  TagConverter INSTANCE = Mappers.getMapper(TagConverter.class);

  List<GoodsTagDo> toTagDoFromEntity(List<GoodsTagEntity> tagEntities);

}
